<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>公司详情</title>
</head>
<body class="layui-layout-body">

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="body_right">
            <h4 class="nav_title">公司详情</h4>
            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                <ul class="layui-tab-title">
                    <li lay-id="INFO">公司信息</li>
                    <li class="layui-this" lay-id="MANAGER">管理员信息</li>
                    <li lay-id="DEVICES">设备列表</li>
                </ul>
                <div class="layui-tab-content">
                        
                    <div class="layui-tab-item layui-show">
                    
                         <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
						   <legend>账户信息</legend>
						</fieldset>
						
						<div class="layui-form-item">
		                    <label class="layui-form-label">登陆账户:</label>
		                    <div class="layui-input-inline layui-form-mid layui-word-aux">${party.userLogin.userLoginId}</div>
		                </div>
                    		<div class="layui-form-item">
		                    <label class="layui-form-label">登陆密码:</label>
		                    <div class="layui-input-inline layui-form-mid layui-word-aux">******    <a href="javascript:void(0);" class="lay-link">重置密码</a></div>
		                </div>
		                <!--
                    		<div class="layui-form-item">
		                    <label class="layui-form-label">联系电话:</label>
		                    <div class="layui-input-inline layui-form-mid layui-word-aux">${party.person.telephone}</div>
		                </div>
		                -->
                    		<div class="layui-form-item">
		                    <label class="layui-form-label">联系手机:</label>
		                    <div class="layui-input-inline layui-form-mid layui-word-aux">${party.person.mobile}</div>
		                </div>
		                
		                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
						   <legend>基本信息</legend>
						</fieldset>
		                
                    		<div class="layui-form-item">
		                    <label class="layui-form-label">管理员姓名:</label>
		                    <div class="layui-input-inline layui-form-mid layui-word-aux">${party.person.name}</div>
		                </div>
		                
		                <div class="layui-form-item">
		                    <label class="layui-form-label">身份证号:</label>
		                    <div class="layui-input-inline layui-form-mid layui-word-aux">${party.person.idcard}</div>
		                </div>
						
						<div class="layui-form-item">
		                    <label class="layui-form-label">管理员身份证:</label>
		                    <div class="layui-input-inline layui-form-mid layui-word-aux" style="width:600px">
		                    	    <span>
		                   			<img layer-pid="img02" layer-src="${party.person.idcardFront}" src="${party.person.idcardFront}" alt="身份证正面" style="width:150px;">
		                   		</span>
		                   		<span>
		                   			<img layer-pid="img02" layer-src="${party.person.idcardBack}" src="${party.person.idcardBack}" alt="身份证反面" style="width:150px;">
		                   		</span>
		                    </div>
		                </div>
                    </div>
                </div>
            </div>

        </div>
     </div>
	<script>
	layui.use(['element','laydate'], function(){
		  var $ = layui.jquery,element = layui.element,laydate = layui.laydate; 
		  element.on('tab(docDemoTabBrief)', function(elem){
		  		var id = $(this).attr('lay-id');
		  		if(id == 'INFO'){
		  		 	location.href='/admin/company/info.htm?companyId=${company.companyId}';
		  		}
		  		
		  		if(id == 'DEVICES'){
		  			location.href='/admin/company/devices.htm?companyId=${company.companyId}';
		  		}
		  });
	});
	</script>
</body>
</html>